export default{
	state:{
		list:[
			{
				name:"张三",
				tel:"18222226666",
				city:"北京市",
				details:"1栋",
				isDefault:false
			},
			{
				name:"李四",
				tel:"18333337777",
				city:"上海市",
				details:"2栋",
				isDefault:true
			}
		]
	},
	getters:{
		
	},
	mutations:{
		createPath(state, obj){
			state.list.unshift(obj)
		}
	},
	actions:{
		createPathFn({commit},obj){
			commit("createPath",obj)
		}
	}
}